home *** CD-ROM | disk | FTP | other *** search
-
-
-
- LLLLDDDDGGGGEEEETTTTPPPPDDDD((((3333XXXX)))) LLLLDDDDGGGGEEEETTTTPPPPDDDD((((3333XXXX))))
-
-
-
- NNNNAAAAMMMMEEEE
- ldgetpd - retrieve procedure descriptor given a procedure descriptor
- index
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- ####iiiinnnncccclllluuuuddddeeee <<<<ssssttttddddiiiioooo....hhhh>>>>
- ####iiiinnnncccclllluuuuddddeeee <<<<ffffiiiilllleeeehhhhddddrrrr....hhhh>>>>
- ####iiiinnnncccclllluuuuddddeeee <<<<ssssyyyymmmm....hhhh>>>>
- ####iiiinnnncccclllluuuuddddeeee <<<<llllddddffffccccnnnn....hhhh>>>>
-
- lllloooonnnngggg llllddddggggeeeettttppppdddd ((((ldptr, ipd, ppd))))
- LLLLDDDDFFFFIIIILLLLEEEE ldptr;;;;
- lllloooonnnngggg ipd;;;;
- ppppPPPPDDDDRRRR ppd;;;;
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- _l_d_g_e_t_p_d returns a SUCCESS or FAILURE depending on whether the procedure
- descriptor with index _i_p_d can be accessed. If it can be accessed, the
- structure pointed to by _p_p_d is filled with the contents of the
- corresponding procedure descriptor. The _i_s_y_m, _i_l_i_n_e, and _i_o_p_t fields of
- the procedure descriptor are updated to be used in further LD routine
- calls. The _a_d_r field is updated from the symbol referenced by the _i_s_y_m
- _f_i_e_l_d.
-
- The PDR cannot be retrieved when:
-
-
- +o The procedure descriptor table cannot be found.
-
- +o The ipd offset into the procedure descriptor table is beyond the
- end of the table.
-
- +o The file descriptor that the ipd offset falls into cannot be
- found.
-
-
- Typically, _l_d_g_e_t_p_d is called while traversing the table that runs from 0
- to SYMHEADER(ldptr).ipdMax - 1.
-
- The program must be loaded with the object file access routine library
- lllliiiibbbbmmmmlllldddd....aaaa.
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- ldclose(3X), ldopen(3X), ldtbseek(3X), ldtbread(3X), ldfcn(4).
-
-
-
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-